/*
 * =====================================================================================
 *
 *       Filename:  main.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  2022年01月21日 21时47分27秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include <iostream>
#include <vector>  //C++ 98
#include <array>   //C++ 11
using namespace std;

int main() {
    double A[4] = { 1, 2, 3, 4 };
    vector < double >VectA {1, 2, 3, 4};
    array < double, 4 > ArrA {1, 2, 3, 4};
    array < double, 4 > ArrA1;
    cout << "内置数组A:" << &A[0] << endl;
    cout << "Vector对象VectA:" << &VectA[0] << endl;
    cout << "array对象ArrA:" << &ArrA[0] << endl;
    cout << "array对象ArrA1:" << &ArrA1[0] << endl;
    system("pause");
    return 0;
}
